<div class="menu">
	<div align="right" style="font-weight:bold; font-size:12px; padding-bottom:8px; color:#10498A;">
		<?php echo $this->Access->getMyRole($this->Access->getMy('group_id')).": ".$this->Access->getMy('nombre_completo');?>
	</div>
	<?php  $this->Form->cuenta($this->Access->getMy('id'));?>	
	<div class="desplegable">
		<?php  $this->Form->menu($this->Access->getMy('id'),$this->Access->getMy('group_id'));?>
	</div>
</div>
<div class="asistencias index">
	<fieldset>
   <legend><?php __('Asistencias a Sesiones'); ?></legend>
     <h4><?php echo $grupo_data['Grupo']['nombre']; ?></h4>
     <?php echo $this->Html->link($this->Html->image('volver.png', array('alt'=> __('Volver', true), 'border' => '0')),
											'../participantes/participantes_grupos/',array('escape' => false));
     ?>
	<table class="tabla_formulario">
	<?php
		$i=0;
		foreach ($cartillas as $cartilla):
			if($i%4==0){
			?><tr>
			<?php }	?>
			<td><?php echo $cartilla['Cartilla']['nombre'];?></td>
			
			<td><?php echo $this->Html->link($this->Html->image('cartillas.png', array('alt'=> __('Cartilla', true), 'border' => '0')),
											'../asistencias/index/'.$cartilla['Cartilla']['id']."/".$grupo_data['Grupo']['id'],array('escape' => false));
			?></td>
			<?php 
			$i++;
				if($i%4==0){
			?>
				</tr>
			<?php }
			
		endforeach;
	?>
	</table>
	</fieldset>
</div>